//
//  StaticMethod.h
//  BJYShoppingMall
//
//  Created by Coder on 15/11/13.
//  Copyright © 2015年 BJY12. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface StaticMethod : NSObject

//图片下载字符串拼接
+(NSURL*)getImageUrlFromUrlString:(NSString*)origalUrl;
+(NSString*)getAppVersion;
+(NSString*)getAppBuild;

/**
 *  当前屏幕横向分辨率比值
 */
+(float)autoSizeScaleX;

/**
 *  当前屏幕纵向分辨率比值
 */
+(float)autoSizeScaleY;

/**
 *  用户输入的这台设备的手机号码
 */
+(NSString *)phoneNumber;
/**
 *  设置这台设备的手机号码
 */
+(void)setPhoneNumber:(NSString*)phone;

/**
 *  用户输入的当前区号
 */
+(NSString *)areaCode;
/**
 *  设置当前区号
 */
+(void)setAreaCode:(NSString*)area;
/**
 *  @param strURL 3G页面的链接URL截取pcid后的值
 */
+(NSString*)getPCIDformStrURL:(NSString *)strURL;
//返回订单状态
+(NSString*)getOrderState:(NSString *)OrderState OrderStateTex:(NSString*)OrderStateTex;
//上传图片前压缩处理图片
+ (NSData *)resetSizeOfImageData:(UIImage *)source_image maxSize:(NSInteger)maxSize;


@end
